package com.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.crm.domain.Notice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface NoticeMpper extends BaseMapper<Notice> {




@Select(" SELECT * from notice where status = #{status}")
Page<Notice> selectPage(Page<Notice> page, @Param("status") String status);
}
